using UnityEngine;
using System.Collections;

public class DieScript : MonoBehaviour {

	// Use this for initialization
	void Start () 
	{
		
	}
	
	// Update is called once per frame
	void Update () 
	{
		transform.position -= Vector3.up * Time.deltaTime * 100.0f;
		transform.RotateAroundLocal(Vector3.forward, 5 * Time.deltaTime);
	}
	
	void OnBecameInvisible()
	{
		Destroy(gameObject);
	}
}
